package com.zjhcsoft.auth.common.enums;

/**
 * @param
 * @description 用户凭证类型
 * @author wzya
 * @date 2021/3/15
 * @return
 */
public enum UserCredentialType {
    NICK_NAME("1", "用户别名"),
    MOBILE("2", "手机号"),
    SYS_ACCOUNT("3", "账号"),
    CLIENT_NO("4", "客户号");

    private String code;

    private String msg;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    private UserCredentialType(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
